<div class="clipview">
	<?php 
		$html='<span class="item_thumb">';
		$img=CHtml::encode($data->image);
		if(CHtml::encode($data->image)!=''){
			$html.=	'<img src="'.$data->image.'" alt="'.$data->title.'"/>';
		}
		else{
			$html.=	'<img src="images/no-image.png" alt="'.$data->title.'"/>';
		}
// 		$price='Mua:'.CHtml::encode($data->retail[0]['price']).' Đồng';
// 		if($data->retail[0]['price']==0){
// 			$price='Miễn phí';
// 		}
		$html.='</span>
			<span class="item_desc">
				<span class="tit">'.CHtml::encode($data->title).'</span>
				<span class="price">Xem ngay</span>
				<span class="clear"></span>
			</span>
			<span class="clear"></span>';
	?>
	<?php echo CHtml::link($html, array('/clip/view', 'id'=>$data->id),array('title'=>$data->title));?>
</div>